package com.woniuxy.automotivemanagementsystem.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

@AllArgsConstructor
@NoArgsConstructor
@Data
@TableName("car")
public class Car {
    @TableId(value = "cid" , type = IdType.AUTO)
    private Integer cid;//车辆编号
    private String cname;//车辆名称
    private String model;//车辆型号
    private String brand;//车辆品牌
    private String photo;//车辆图片
    private BigDecimal dailyRate;//每日租价
    private Integer count;//车辆数量
    private Integer status;//状态 0:在售 1:不售
}
